package com.yaodian100.ec.supplierapply.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.yaodian100.core.common.entity.BaseEntity;

@Entity
@Table(name = "EC_SUPPLIER_APPLY_PHOTO")
public class SupplierApplyPhoto extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 843940366196064288L;

	// SEQ
	@Id
	@GeneratedValue(generator = "gen_uuid")
	@GenericGenerator(name = "gen_uuid", strategy = "uuid")
	@Column(name = "PHOTO_ID")
	private String photoid;

	/** 廠商申請編號 **/
	@Column(name = "SUPPLIER_ID", length = 32)
	private String supplierid;

	/** 圖片名稱 **/
	@Column(name = "FILE_NAME", length = 200)
	private String filename;

	/** 圖片說明 **/
	@Column(name = "FILE_DECRIPTION", length = 200)
	private String filedecription;

	public String getPhotoid() {
		return photoid;
	}

	public void setPhotoid(String photoid) {
		this.photoid = photoid;
	}

	public String getSupplierid() {
		return supplierid;
	}

	public void setSupplierid(String supplierid) {
		this.supplierid = supplierid;
	}

	public String getFilename() {
		return filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}

	public String getFiledecription() {
		return filedecription;
	}

	public void setFiledecription(String filedecription) {
		this.filedecription = filedecription;
	}

}
